<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .container {
      /*padding-left:150px;*/
      /*padding-right:190px;*/
      height: 200px;
      background-color: green;
    }
    .main-wrap {
      width: 100%;
      float: left;
    }
    .main {
      margin-left: 150px;
      margin-right: 190px;
      height: 200px;
      background-color: green;
    }
    .left {
      float: left;
      width: 150px;
      margin-left: -100%;
      height: 200px;
      background-color: pink;
      /*position: relative;*/
      /*left:-150px;*/
    }
    .right {
      float: left;
      width: 190px;
      margin-left: -190px;
      height: 200px;
      background-color: red;
      /*position:relative;*/
      /*right:-190px;*/
    }
  </style>
</head>
<body>
  <div class="content">
    <div class="main"></div>
  </div>
  <div class="left"></div>
  <div class="right"></div>
</body>
</html>